package com.cg.utils;

/**
 *
 * @author: chenggui.huang
 * @date: 2014-02-18 16:44
 */
public class FilterRule {
    private String key;
    private String comparator;
    private Object value;

    public FilterRule() {
    }

    public FilterRule(String key, String comparator, Object value) {
        this.key = key;
        this.comparator = comparator;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getComparator() {
        return comparator;
    }

    public void setComparator(String comparator) {
        this.comparator = comparator;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

	@Override
	public String toString() {
		return "FilterRule [key=" + key + ", comparator=" + comparator
				+ ", value=" + value + "]";
	}

    
}
